#ifndef _SHELL_AREABEAN_BEAN_H_
#define _SHELL_AREABEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class AreaBean : public Bean
{
	public:
	AreaBean();
	~AreaBean();
	void reset();
	AreaBean* clone();
	//角色id
	int64 playerId;
	//角色的职业
	int8 playerType;
	//角色名称
	string name;
	//角色战斗力
	int32 firstForce;
	//当前名次
	int32 firstPlace;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
